/**
  ******************************************************************************
  * @file    bsp_bulletCount.h
  * @author  Wang Hongxi
  * @version V1.0.0
  * @date    2019/12/31
  * @brief   
  ******************************************************************************
  * @attention 
  *
  ******************************************************************************
  */
#ifndef _BSP_BULLETCOUNT
#define _BSP_BULLETCOUNT
#include "gpio.h"
#include "stdint.h"

#define USE_BULLETCOUNT

#define COUNTER_PIN GPIO_PIN_3

#ifdef _CMSIS_OS_H
#ifndef USER_GetTick
#define USER_GetTick xTaskGetTickCount
#endif
#else
#ifndef USER_GetTick
#define USER_GetTick HAL_GetTick
#endif
#endif

extern uint32_t BulletCount;

#endif // !_BSP_BULLETCOUNT
